Skip to content

Latest commit

 

History

History
62 lines (56 loc) · 2.06 KB

README.md

File metadata and controls

62 lines (56 loc) · 2.06 KB

Entity

The Entity describes the necessary information of an entity, and all specific entity should inherit from Entity to extend.

Schema

{
  "@context": {
    "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "schema": "https://schema.org/",
    "iscn": "http://iscn.io/"
  },
  "@id": "iscn:entity",
  "@type": "rdf:Property",
  "rdfs:comment": "Entity who should be cited and / or rewarded for the contribution on the content.",
  "rdfs:label": "entity",
  "schema:domainIncludes": [
    {
      "@id": "iscn:StakeholderInfo"
    }
  ],
  "schema:rangeIncludes": [
    {
      "@id": "schema:Thing"
    }
  ]
}

Sample

Recommended

{
  "@id": "like1rclg677y2jqt8x4ylj0kjlqjjmnn6w63uflpgr",
  "name": "Chung Wu",
  "identifier": [{ "@type": "PropertyValue", "propertyID": "LikeCoin Wallet", "value": "like1rclg677y2jqt8x4ylj0kjlqjjmnn6w63uflpgr" }]
}

(Legacy)

{
  "@id": "did:like:like1rclg677y2jqt8x4ylj0kjlqjjmnn6w63uflpgr",
  "name": "Chung Wu"
}

(No wallet address)

{
  "@id": "http://github.com/nnkken",
  "name": "Chung Wu"
}

Description

Property Expected Type Description
id String | URI The id property represents any kind of identifier for everything, and it should represent in either as String or URI links. A canonical wallet address is recommended when hosted on a blockchain. did:(type) prefix is also supported for legacy usage.
name String The name shows the display name of the entity.
description String The description shows a brief description of the entity.