Skip to content

Latest commit

 

History

History
153 lines (81 loc) · 4.17 KB

sub-directory.schema.md

File metadata and controls

153 lines (81 loc) · 4.17 KB

Sub-Directory Schema

http://ns.adobe.com/adobecloud/core/1.0/sub-directory

A sub-directory in a directory listing.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental No Forbidden Permitted external/repo/sub-directory.schema.json

Schema Hierarchy

  • Sub-Directory http://ns.adobe.com/adobecloud/core/1.0/sub-directory

Sub-Directory Example

{
  "repo:path": "/here",
  "repo:name": "here/foo",
  "dc:format": "application/vnd.adobecloud.directory+json"
}

Sub-Directory Properties

Property Type Required Defined by
_embedded object Optional HAL Resource
_links object Optional HAL Resource
dc:format string Required Common Properties
repo:name string Required Common Properties
repo:path string Required Common Properties
* any Additional this schema allows additional properties

_embedded

It is an object whose property names are link relation types (as defined by RFC5988) and values are either a Resource Object or an array of Resource Objects.\n\nEmbedded Resources MAY be a full, partial, or inconsistent version of the representation served from the target URI.

_embedded

_embedded Type

object with following properties:

Property Type Required

_links

It is an object whose property names are link relation types (as defined by RFC5988 and values are either a Link Object or an array of Link Objects. The subject resource of these links is the Resource Object of which the containing _links object is a property.

_links

_links Type

object with following properties:

Property Type Required

dc:format

Format

The physical or digital manifestation of the resource. Typically, Format should include the media-type of the resource. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. Recommended best practice is to select a value from a controlled vocabulary (for example, the list of [Internet Media Types](http://www.iana.org/ assignments/media-types/) defining computer media formats).

dc:format

  • is required
  • type: string
  • defined in Common Properties

dc:format Type

string

All instances must conform to this regular expression

\w+\/[-.\w]+(?:\+[-.\w]+)?

dc:format Example

"application/vnd.adobe.photoshop"

repo:name

repo:name

  • is required
  • type: string
  • defined in Common Properties

repo:name Type

string

repo:path

repo:path

  • is required
  • type: string
  • defined in Common Properties

repo:path Type

string