The JSON objects returned by calls to
org.lappsgrid.api.DataSource#getMetadata.
Typically Lapp services will either generate the metadata at compile time or at
runtime when the service is first launched. The metadata can then be cached
until getMetadata() is called.
| Modifiers | Name | Description |
|---|---|---|
static String |
DEFAULT_SCHEMA_URL |
| Type | Name and description |
|---|---|
String |
allowA URI from the Lapps vocabulary defining allowable usages. |
String |
descriptionA brief description of the service. |
String |
encodingThe character encoding for documents from the data source. |
List<String> |
formatFormats available from the data source. |
List<String> |
languageLanguages available from the data source. |
String |
licenseA URI from the Lapps vocabulary defining the software license. |
String |
licenseDescThe license of the wrapped tool, if any, in restructuredtext markup format |
String |
nameThe name of the service. |
String |
schemaThe JSON-LD schema that defines the metadata layout. |
String |
vendorA URI defining the organization providing the service. |
String |
versionThe service version. |
| Constructor and description |
|---|
DataSourceMetadata
() |
DataSourceMetadata
(Object object) |
DataSourceMetadata
(String json) |
DataSourceMetadata
(Map map) |
A URI from the Lapps vocabulary defining allowable usages. Defaults to any.
A brief description of the service.
The character encoding for documents from the data source. Default is UTF-8
Formats available from the data source. The data format should be a URI from the Lapps vocabulary.
A URI from the Lapps vocabulary defining the software license. Defaults to the Apache 2.0 license.
The license of the wrapped tool, if any, in restructuredtext markup format
The name of the service. For Java services this is typically the fully qualified class name of the class implementing the service and will be filled in automatically by the framework.
The JSON-LD schema that defines the metadata layout. This will be provided automatically by the framework, but can be overridden if needed.
A URI defining the organization providing the service.
The service version. For Maven projects the version number will be parsed from the pom.xml file.
org.lappsgrid:metadata:1.4.0