Namespace org.accordproject.usa.business0.1.0

Compatible with Concerto versions . Has 2 declarations.

Concerto JSON AST UML JSON Schema XML Schema GraphQL TypeScript CSharp Java Go OData

Declared Types

      
      import org.accordproject.usa.business.BusinessEntity from https://models.accordproject.org/usa/business.cto
      import org.accordproject.usa.business.BusinessLicense from https://models.accordproject.org/usa/business.cto
      
      

Dependencies

Source

    /*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace org.accordproject.usa.business

import org.accordproject.geo.GeoCoordinates from https://models.accordproject.org/geo.cto
import org.accordproject.address.PostalAddress from https://models.accordproject.org/address.cto

/**
 * Types of businesses in the USA
 * Taken from: https://en.wikipedia.org/wiki/List_of_business_entities#United_States
 */
enum BusinessEntity {
  o GENERAL_PARTNERSHIP
  o LP
  o LLP
  o LLLP
  o LLC
  o PLLC
  o CORP
  o PC
  o DBA
}

/**
 * Based on the state of Delaware API:
 * https://dev.socrata.com/foundry/data.delaware.gov/5zy2-grhr
 */
concept BusinessLicense {
  o String business_name
  o String category
  o DateTime current_license_valid_from
  o DateTime current_license_valid_to
  o PostalAddress address
  o Long license_number
  o GeoCoordinates geocoded_location
}