Title (Goal)Content modeling
Primary ActorDeveloper
ScopeApplication
LevelSummary
AuthorStefano Cossu
Story (A paragraph or two describing what happens)Configuration-based content modeling that allows specifying services and schemata related to specific resource types

I want to be able to CRUD complex resources with a single or a minimal set of requests, without:

I should specify a "content model" (e.g. an RDF type) for each resource that I CRUD and have predefined metadata schemata for ingestion and retrieval, customizable event hooks related to individual HTTP methods, and validation rules (see related use case)

I want to be able to retrieve some machine-readable documentation for each content type, for individual HTTP methods, e.g. schema information indicating which properties are expected for a specific HTTP method on a specific "content model", data type and cardinality of each property, etc.

Ideally, I would be able to achieve all of the above without using any code, i.e. by wiring content models to services and schemata by means of transparent configuration files.

Example

For a given “myns:Image” content model the service configuration would define the following actions related to distinct HTTP methods: