includes/nav cleanup
[disclosr.git] / schemas / agency.json.php
blob:a/schemas/agency.json.php -> blob:b/schemas/agency.json.php
--- a/schemas/agency.json.php
+++ b/schemas/agency.json.php
@@ -1,1 +1,19 @@
+<?php
 
+$schemas['agency'] = Array(
+    "description" => "Representation of government agency and online transparency measures",
+    "type" => "object",
+    "properties" => Array(
+        "name" => Array("type" => "string", "required" => true, "description" => "Agency Name, most recent and broadest"),
+        "othernames" => Array("type" => "array", "required" => true, "description" => "Agency Names",
+            "items" => Array("type" => "string")),
+    ),
+    /*"org":{"type":"object",
+		"properties":{
+			"organizationName":{"type":"string"},
+			"organizationUnit":{"type":"string"}},
+		}
+	}*/
+);
+?>
+