Comments (1)
You are right about the example (fixed)
Regarding the schema this is the current version on the schema
"controlledAsset": {
"type": "array",
"description": "Property. Model:'https://schema.org/Text'. List of the asset(s) (building, object, etc.) controlled by the device.",
"items": {
"oneOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType"
}
]
}
},
As you can see the items can be either a property or a relationship, so property has been chosen for the array. Why? No actual reason as far as I know. One has to be chosen.
from datamodel.device.
Related Issues (11)
- Issues with definition of the 'category' attribute HOT 1
- Some examples swapped between normalized/keyvalues format HOT 1
- Device schema is invalid: data/properties/controlledProperty/items/enum must NOT have duplicate items HOT 1
- Device schema cannot be used in Javascipt / Python since those Regex engines do not support POSIX Bracket Expressions HOT 4
- Device schema cannot be used in OpenAPI 3.0 projects since const and version keywords are not supported HOT 11
- Questions/Extensions to the Camera Data Model HOT 2
- Device examples do not include configuration property HOT 1
- rssi property should be expressed as dBm or renamed to be Normalized rssi HOT 3
- Several quantitative values with different time stamps HOT 3
- Attributes controlledProperty and category are no longer defined HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datamodel.device.