Geo-Web-Project / datamodels

Ceramic data models used in the Geo Web content layer. These enable new use cases.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Geo Web Data Models

This project contains the Ceramic data models to be used in the Geo Web.

Referred to as the "content layer" of the Geo Web, these data models contain schemas and definitions that define how content is anchored to a land parcel. This project also contains semantics and examples of how browsers can attach content, as well as a registry of which browsers support what content.

Install

yarn add @geo-web/datamodels
npm install @geo-web/datamodels

Usage

This package can be used with DIDDataStore.

import GeoWebModel from "@geo-web/datamodels";
import { DataModel } from "@glazed/datamodel";
import { DIDDataStore } from "@glazed/did-datastore";

const model = new DataModel({ ceramic, model: GeoWebModel });
const dataStore = new DIDDataStore({ ceramic, model });

Contribute

Contributions are welcome! These may include, but not limited to:

  • Creating new custom schemas and definitions
  • Adding schemas from Schema.org
  • Creating new semantics on existing schemas and definitions
  • Adding browser support status
  • Adding examples

Are you developing a browser? Get in touch in the Geo Web Discord.

Anyone can also participate in discussions and earn cred.

License

Dual licensed under MIT and Apache 2

About

Ceramic data models used in the Geo Web content layer. These enable new use cases.

License:Apache License 2.0


Languages

Language:JavaScript 84.9%Language:TypeScript 15.1%