mlsgrid · Schema
MLS Grid Media
RESO Data Dictionary Media resource as exposed via $expand=Media on Property or as a standalone /Media collection where supported by the originating MLS.
Properties
| Name | Type | Description |
|---|---|---|
| MediaKey | string | Prefixed media key. |
| ResourceRecordKey | string | Foreign key to the parent resource (typically Property.ListingKey). |
| ResourceName | string | |
| OriginatingSystemName | string | |
| MediaURL | string | URL for downloading a local copy of the media asset. Hot-linking is prohibited under the MLS Grid license. |
| MediaCategory | string | |
| MediaType | string | |
| MimeType | string | |
| Order | integer | |
| ShortDescription | string | |
| LongDescription | string | |
| ImageHeight | integer | |
| ImageWidth | integer | |
| ImageSizeDescription | string | |
| MediaModificationTimestamp | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/mlsgrid/main/json-schema/mlsgrid-media-schema.json",
"title": "MLS Grid Media",
"description": "RESO Data Dictionary Media resource as exposed via $expand=Media on Property or as a standalone /Media collection where supported by the originating MLS.",
"type": "object",
"required": ["MediaKey", "ResourceRecordKey", "OriginatingSystemName"],
"properties": {
"MediaKey": {
"type": "string",
"description": "Prefixed media key."
},
"ResourceRecordKey": {
"type": "string",
"description": "Foreign key to the parent resource (typically Property.ListingKey)."
},
"ResourceName": {
"type": "string",
"enum": ["Property", "Member", "Office", "OpenHouse"]
},
"OriginatingSystemName": {
"type": "string"
},
"MediaURL": {
"type": "string",
"format": "uri",
"description": "URL for downloading a local copy of the media asset. Hot-linking is prohibited under the MLS Grid license."
},
"MediaCategory": {
"type": "string"
},
"MediaType": {
"type": "string"
},
"MimeType": {
"type": "string"
},
"Order": {
"type": "integer"
},
"ShortDescription": {
"type": "string"
},
"LongDescription": {
"type": "string"
},
"ImageHeight": {
"type": "integer"
},
"ImageWidth": {
"type": "integer"
},
"ImageSizeDescription": {
"type": "string"
},
"MediaModificationTimestamp": {
"type": "string",
"format": "date-time"
}
}
}