Closed duglin closed 3 months ago
Changes for week of July 16
Fixed #141
{ "id": "STRING", # The Resource id "self": "URL", # Resource URL, not Version # These are inherited from the default Version (excluded on export) "versionid": "STRING", # Same a defaultversionid "name": "STRING", ? "epoch": UINTEGER, "isdefault": true, "description": "STRING", ? "documentation": "URL", ? "labels": { "STRING": "STRING" * }, ? "origin": "URI", ? "createdat": "TIME", "modifiedat": "TIME", "contenttype": "STRING, ? "RESOURCEurl": "URL", ? # If not local "RESOURCE": ... Resource document ..., ? # If local & inlined & JSON "RESOURCEbase64": "STRING", ? # If local & inlined & ~JSON # These are Resource-only attributes "xref": "URL", ? # Ptr to other Resource "defaultversionsticky": BOOLEAN, ? "defaultversionid": "STRING", # Same as versionid above "defaultversionurl": "URL", "versionsurl": "URL", "versionscount": UINTEGER, "versions": { # Only if inlined/nested "ID": { # The Version's versionid "id": "STRING", # The Resource id "self": "URL", # Version URL "versionid": "STRING", "name": "STRING", ? "epoch": UINTEGER, "isdefault": BOOLEAN, ? "description": "STRING", ? "documentation": "URL", ? "labels": { "STRING": "STRING" * }, ? "origin": "URI", ? "createdat": "TIME", "modifiedat": "TIME", "contenttype": "STRING", ? "RESOURCEurl": "URL", ? # If not local "RESOURCE": ... Resource document ..., ? # If inlined & JSON "RESOURCEbase64": "STRING" ? # If inlined & ~JSON } * } }
@deissnerk thanks for the very thorough review - I picked up all of your suggestions
Approved on the 7/25 call. there are more changes needed to the other spec but I'll get that in a follow-on PR.
Changes for week of July 16
141 : make the URL for a Resource and a Version be almost interchangeable
Fixed #141