-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from darwindu/feature/jsonschema-param-fix
Feature/jsonschema param fix
- Loading branch information
Showing
38 changed files
with
1,341 additions
and
687 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/main/java/com/webank/weid/constant/JsonSchemaConstant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package com.webank.weid.constant; | ||
|
||
/** | ||
* JsonSchema propertites. | ||
* @author darwindu | ||
*/ | ||
public final class JsonSchemaConstant { | ||
|
||
/** json schema: $schema key. **/ | ||
public static final String SCHEMA_KEY = "$schema"; | ||
|
||
/** json schema: $schema value. **/ | ||
public static final String SCHEMA_VALUE = "http://json-schema.org/draft-04/schema#"; | ||
|
||
/** json schema: type key. **/ | ||
public static final String TYPE_KEY = "type"; | ||
|
||
/** json schema: data type object. **/ | ||
public static final String DATE_TYPE_OBJECT = "object"; | ||
|
||
/** json schema: data type string. **/ | ||
public static final String DATE_TYPE_STRING = "string"; | ||
|
||
/** json schema: data type number. **/ | ||
public static final String DATE_TYPE_NUMBER = "number"; | ||
|
||
/** json schema: data type enum. **/ | ||
public static final String DATE_TYPE_ENUM = "enum"; | ||
|
||
/** json schema: title. **/ | ||
public static final String TITLE_KEY = "title"; | ||
|
||
/** json schema: description. **/ | ||
public static final String DESCRIPTION_KEY = "description"; | ||
|
||
/** json schema: properties. **/ | ||
public static final String PROPERTIES_KEY = "properties"; | ||
|
||
/** json schema: required. **/ | ||
public static final String REQUIRED_KEY = "required"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.