{ "id": "http://trec-kba.org/schemas/v1.0/http-metadata.json", "description": "Metadata for corpus items fetched via HTTP.", "type": "object", "$schema": "http://json-schema.org/draft-03/schema#", "properties": { "$schema": { "description": "URI of this JSON schema document.", "type": "string", "enum": [ "http://trec-kba.org/schemas/v1.0/http-metadata.json", "http://trec-kba.org/schemas/v1.0/news-metadata.json", "http://trec-kba.org/schemas/v1.0/linking-metadata.json" ], "required": false, "default": "http://trec-kba.org/schemas/v1.0/http-metadata.json" }, "http_status": { "description": "HTTP response code (generated by fetcher)", "type": "integer", "required": true }, "http_headers": { "description": "HTTP headers from host web site. The keys and values are always encoded with python v2.7.2 String.encode('string-escape') (generated by fetcher)", "type": "object", "required": true }, "redirect_chain": { "description": "Array of HTTP headers from the sequence of HTTP redirects that occurred while fetching the content. While redirects are normal and occur often, the presence of redirects carries a higher probability that the fetcher hit a 'pay wall' instead of obtaining the intended content. (generated by fetcher)", "type": "array", "required": false } } }