<?php |
<?php |
|
|
$schemas['agency'] = Array( |
$schemas['agency'] = Array( |
"description" => "Representation of government agency and online transparency measures", |
"description" => "Representation of government agency and online transparency measures", |
"type" => "object", |
"type" => "object", |
"properties" => Array( |
"properties" => Array( |
"name" => Array("type" => "string", "required" => true, "description" => "Agency Name, most recent and broadest"), |
"name" => Array("type" => "string", "required" => true, "x-title"=> "Agency Name", "description" => "Agency Name, most recent and broadest"), |
"othernames" => Array("type" => "array", "required" => true, "description" => "Agency Names", |
"othernames" => Array("type" => "array", "required" => true, "x-title" => "Agency Past/Other Names", "description" => "Agency Names", |
"items" => Array("type" => "string")), |
"items" => Array("type" => "string")), |
), |
), |
/*"org":{"type":"object", |
/*"org":{"type":"object", |
"properties":{ |
"properties":{ |
"organizationName":{"type":"string"}, |
"organizationName":{"type":"string"}, |
"organizationUnit":{"type":"string"}}, |
"organizationUnit":{"type":"string"}}, |
} |
} |
}*/ |
}*/ |
); |
); |
?> |
?> |
|
|