openconnectivityfoundation / core

Licence: Unknown, BSD-3-Clause licenses found Licenses found Unknown LICENSE.md BSD-3-Clause LICENSE-3C.md
This repo contains the core module of the OCF API's.

Programming Languages

Batchfile
5799 projects

Projects that are alternatives of or similar to core

Raml Dotnet Tools
Visual Studio extension to work with RAML and OAS (OpenAPI) specifications. You can consume REST APIs, scaffold ASP.NET implementations and extract RAML specifications from existing ASP.Net apps.
Stars: ✭ 171 (+755%)
Mutual labels:  raml
AndroidDaggerSample
Android-dagger and Architecture component ViewModel sample
Stars: ✭ 30 (+50%)
Mutual labels:  architecture-component
raml2obj
RAML to object.
Stars: ✭ 23 (+15%)
Mutual labels:  raml
Api Workbench
The API Workbench for RAML (deprecated)
Stars: ✭ 222 (+1010%)
Mutual labels:  raml
PsData
Flexible data model plugin for Unreal Engine 4
Stars: ✭ 34 (+70%)
Mutual labels:  datamodel
raml-clj-parser
A RAML parser implemented in clojure
Stars: ✭ 21 (+5%)
Mutual labels:  raml
Raml Server
run a mocked server JUST based on a RAML API's definition .. zero coding
Stars: ✭ 158 (+690%)
Mutual labels:  raml
LiveData-DataBinding-Kotlin
Sample to practice LiveData + DataBinding
Stars: ✭ 89 (+345%)
Mutual labels:  architecture-component
mantle-udm
Mantle Universal Data Model
Stars: ✭ 38 (+90%)
Mutual labels:  datamodel
generaptr
Generaptr is a node package that helps when starting up a project by generating boilerplate code for Express api.
Stars: ✭ 16 (-20%)
Mutual labels:  raml
Ramlfications
Python parser for RAML
Stars: ✭ 234 (+1070%)
Mutual labels:  raml
smockin
Dynamic API, S3 & Mail mocking for web, mobile & microservice development.
Stars: ✭ 74 (+270%)
Mutual labels:  raml
ocflib
Python libraries for account and server management
Stars: ✭ 13 (-35%)
Mutual labels:  ocf
Raml Js Parser
(deprecated) A RAML parser based on PyYAML written in CoffeScript and available for use as NodeJs module or in-browser.
Stars: ✭ 197 (+885%)
Mutual labels:  raml
LifecycleAwareRx
Make your RxJava2 streams life-cycle aware with Android Architecture Components.
Stars: ✭ 33 (+65%)
Mutual labels:  architecture-component
Raml Java Parser
(deprecated) A RAML parser based on SnakeYAML written in Java
Stars: ✭ 169 (+745%)
Mutual labels:  raml
api-console-cli
A CLI tools for the API console.
Stars: ✭ 14 (-30%)
Mutual labels:  raml
datamodels
A collection of data models used by Ceramic applications
Stars: ✭ 66 (+230%)
Mutual labels:  datamodel
oas-raml-converter
(DEPRECATED) Converts between OAS and RAML API specifications
Stars: ✭ 75 (+275%)
Mutual labels:  raml
raml-dotnet-parser-2
No description or website provided.
Stars: ✭ 17 (-15%)
Mutual labels:  raml

core

This repo contains the data models that are part of the OCF core specification. The latest version of which can be found at:

https://openconnectivity.org/specs/OCF_Core_Specification.pdf

referencing files with full URL

This repo uses the GitHub pages feature. e.g. all files can be accessed by using the URL:

http://openconnectivityfoundation.github.io/core/

and then use the path and filename to retrieve the file by means of http(s). For example, the URL of the swagger file with rt type = oic.wk.p is:

http://openconnectivityfoundation.github.io/core/swagger2.0/oic.wk.p.swagger.json

The full url can be used to reference a property definition. For example to reference in a schema the definition of UUID defined in the schema file: oic.types-schema.json use:

"$ref": "http://openconnectivityfoundation.github.io/core/schemas/oic.types-schema.json#definitions/uuid"

Introspection

Examples

The examples folder contains two examples showing how Introspection Device Data (IDD) may be constructed for a Device.

introspectiondevicedataexample.swagger.json illustrates a simple device that exposes an instance of a Binary Switch Resource and an instance of a Brightness Resource

introspectiondevicedataexample-collections.swagger.json illustrates a case where the Device supports the ability to create instances of Binary Switch and instances of Humidity via a Collection that exposes the oic.if.create OCF Interface.

Applying the IDD to a created Resource

In the Collections case a Client can determine how to apply the IDD definition for created Resources via the following procedure:

  • Client creates a Resource using POST with oic.if.create
  • The newly created Resource is added as a Link in the Collection
  • The URL for the newly created Resource is provided to the Client in the success path response
  • The Client can then retrieve the Resource using the provided URL using the oic.if.baseline OCF Interface
  • The Resource Representation returned provides the Client with the Resource Type of the created Resource (referenced below as {created RT})
  • The Client knows how to deal with the created Resource from the "/Collection Root/{created RT}" URL in the IDD
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].