私は JSON-LD が初めてで、Hydra のsupportedOperationまたはsupportedPropertyを使用せずに、JSON-LD でサポートされているリソースの操作を指定する方法があるかどうか疑問に思っていました。次のようなコンテキストを指定する方法はありますか:
{
"@context" : {
"@vocab" : "http://www.schema.org/",
"data" : "object",
"id" :"Number",
"name" : "alternateName",
"full_name" : "name",
"links" : {
"@id" : "URL",
"@type" : "collection"
},
"href" : "URL",
"rel" : "relatedTo",
"operation" : [
{
"href" : "http://example.com/resources/1/anotherresources/2",
"method" : "POST",
"expects" :[parameter list],
"required" : [list of mandatory arguments],
"fixed value" : [list of argument with fixed value for a resource]
}
]
}
どんなガイダンスも大いに役立ちます..