{ "$schema":"http://json-schema.org/draft-07/schema#", "definitions":{ "file_location": { "type": "object", "properties": { "description": { "type": "string" }, "location": { "type": "string", "format": "uri", "pattern": "^https://" } }, "required":[ "description", "location" ] }, "reporting_structure":{ "type":"object", "properties":{ "reporting_plans":{ "type":"array", "items":{ "$ref":"#/definitions/reporting_plans" }, "uniqueItems":true, "default":[] }, "in_network_files":{ "type":"array", "items":{ "$ref":"#/definitions/file_location" }, "uniqueItems":true, "default":[] }, "allowed_amount_file":{ "$ref":"#/definitions/file_location" } }, "anyOf": [ { "required": ["in_network_files"] }, { "required": ["allowed_amount_file"] } ], "required":[ "reporting_plans" ] }, "reporting_plans":{ "type":"object", "properties":{ "plan_name":{ "type":"string" }, "plan_id_type":{ "type":"string" }, "plan_id":{ "type":"string" }, "plan_market_type":{ "enum":[ "group", "individual" ] } }, "required":[ "plan_name", "plan_id_type", "plan_id", "plan_market_type" ] } }, "type":"object", "properties":{ "reporting_entity_name":{ "type":"string" }, "reporting_entity_type":{ "type":"string" }, "version": { "type": "string" }, "reporting_structure":{ "type":"array", "items":{ "$ref":"#/definitions/reporting_structure" }, "uniqueItems":true, "default":[] } }, "required":[ "reporting_entity_name", "reporting_entity_type", "reporting_structure", "version" ] }